package com.paranoidmonkey.ode;

public class Sphere extends Geom {
	public Sphere(Space space, float radius){
		handle=AndrODE.dCreateSphere(space.handle, radius);
	}

	public void setRadius(float radius){
		AndrODE.dGeomSphereSetRadius(handle, radius);
	}

	public float getRadius(){
		return AndrODE.dGeomSphereGetRadius(handle);
	}

	public float pointDepth(float x, float y, float z){
		return AndrODE.dGeomSpherePointDepth(handle, x, y, z);
	}

}
